//home.js
import React, { Component } from 'react';
import styles from './index.module.scss'
import { NavLink } from "react-router-dom";

export default class Footer extends Component {
    render() {
        return (
            <ul className={styles.footer}>
                <NavLink to='/home' activeClassName={styles.active}>
                    <i className='iconfont icon-changyonglogo40'></i>
                    <span>首页</span>
                </NavLink>
                <NavLink to='/cart' activeClassName={styles.active}>
                    <i className='iconfont icon-zhinanzhen'></i>
                    <span>发现</span>
                </NavLink>
            </ul>
        )
    }
}